package com.jader.beans;

import java.io.Serializable;

public class User implements Serializable {

	private static final long serialVersionUID = 1L;
	private int userid;
	private String picture;
	private String phone;
	private String password;
	private String username;
	private String gender;
	private double money;

	public User() {
		super();
	}

	public User(int userid, String picture, String phone, String password,
			String username, String gender, double money) {
		super();
		this.userid = userid;
		this.picture = picture;
		this.phone = phone;
		this.password = password;
		this.username = username;
		this.gender = gender;
		this.money = money;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Override
	public String toString() {
		return "User [userid=" + userid + ", picture=" + picture + ", phone="
				+ phone + ", password=" + password + ", username=" + username
				+ ", gender=" + gender + ", money=" + money + "]";
	}

}
